home *** CD-ROM | disk | FTP | other *** search
/ 17 Bit Software 6: Level 6 / 17 Bit - Level 6 (1998)(Epic Marketing)[!].iso / quartz / q0919.dms / q0919.adf / man / LoadResource < prev    next >
Text File  |  1997-04-10  |  1KB  |  56 lines

  1.             LoadResource (3.1 only) 
  2.  
  3.  
  4.  
  5.  
  6.      NAME
  7.           
  8.             LoadResource - Locks and loads a resouce to memory.
  9.  
  10.  
  11.  
  12.      SYNOPSIS
  13.  
  14.             LoadResource [NAME] [LOCK] [UNLOCK]
  15.  
  16.  
  17.  
  18.      DESCRIPTION
  19.  
  20.             LoadResource is used to pre-load a certain resource 
  21.         (library, device etc.) to memory before it is actually 
  22.         used. 
  23.  
  24.             This may be used to reduce loading time of these 
  25.         resources. But, this reduced loading time is not without
  26.         a price. That resource you load will continue to take up
  27.         memory until the next reboot or a "LoadResource <name>
  28.         UNLOCK" followed by a FlushLibs (either via WB menu if
  29.         you loaded WB with -DEBUG option or via the command
  30.         "avail flush").
  31.  
  32.  
  33.  
  34.      KEYWORDS
  35.  
  36.         NAME
  37.             Name of the resource to load.
  38.  
  39.         LOCK
  40.             Loads the resource from the disk and lock it in
  41.         memory so it can't be expunged by a FlushLibs-Call.
  42.  
  43.         UNLOCK
  44.             Search the given resource in memory and unlock it,
  45.         it may then be expunged.
  46.  
  47.  
  48.         
  49.       EXAMPLES
  50.  
  51.         1. To load the ReqTool.library from the libs: directory
  52.            and protect it against FlushLibs-Calls.
  53.  
  54.  
  55.            LoadResource ReqTools.library LOCK        
  56.